package com.jgzx.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * @author libo
 * @date 2021/8/17 14:16
 */
@ApiModel(value = "单据下游追溯查询DTO")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class BillDownTraceQueryDTO {

    @ApiModelProperty(value = "来源单据类别")
    @NotEmpty(message = "来源单据类别")
    private String source_bill_category;

    @ApiModelProperty(value = "单据明细主键集合")
    @NotEmpty(message = "来源单据明细集合不能为空")
    private Set<Long> source_bill_bids;

}
